package io.github.wppli.domain.message.model.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author li--jiaqiang 2025−03−04
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserMessageEntity {
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 用户名
     */
    private String username;
    /**
     * 消息个数
     */
    private Integer messageCount;
    /**
     * 消息集合
     */
    private List<PrivateMessageEntity> messageList;
}